<?php
class QueryToneEvt extends BaseQueryEvt 
{
	function __construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $toneID, $toneCode, $approveType)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType);
		
		$this->toneID = $toneID;
		$this->toneCode = $toneCode;
		$this->approveType = $approveType;
	}
}

class QueryToneEvt2 extends BaseQueryEvt 
{
	function __construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $toneID, $toneCode, $approveType, $category, $beginUploadTime, $orderType, $orderBy)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $category, $beginUploadTime, $orderType, $orderBy);
		
		$this->toneID = $toneID;
		$this->toneCode = $toneCode;
		$this->approveType = $approveType;
		$this->category = $category;
		$this->beginUploadTime = $beginUploadTime;
		$this->orderType = $orderType;
		$this->orderBy = $orderBy;
	}
}

class QueryToneEvt3 extends BaseQueryEvt
{
    function __construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $toneName, $singerName, $approveType, $category, $beginUploadTime, $orderType, $orderBy)
    {
        parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $category, $beginUploadTime, $orderType, $orderBy);

        /*$this->toneID = $toneID;
        $this->toneCode = $toneCode;*/
        $this->toneName = $toneName;
       // $this->singerName = $singerName;
        $this->approveType = $approveType;
        $this->category = $category;
        $this->beginUploadTime = $beginUploadTime;
        $this->orderType = $orderType;
        $this->orderBy = $orderBy;
    }
}

class QueryToneEvt4 extends BaseQueryEvt
{
	function __construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $uploadType, $uploadID, $corpID, $approveType, $orderType, $orderBy)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, null);

                $this->uploadType = $uploadType;
                $this->uploadID = $uploadID;
		$this->corpID = $corpID;
                $this->approveType = $approveType;
		$this->orderType = $orderType;
                $this->orderBy = $orderBy;
	}

        public $uploadType;
        public $uploadID;
        public $corpID;
        public $approveType;
        public $orderType;
        public $orderBy;
}

class HiddenAndResumeToneEvt extends BaseUpdateEvt {
    function __construct($portalAccount, $portalPwd, $portalType,
        $moduleCode, $role, $roleCode,
        $operateType, $resourceType, $resourceID)
    {
        parent::__construct($portalAccount, $portalPwd, $portalType,
                $moduleCode, $role, $roleCode);
        $this->operateType = $operateType;
        $this->resourceType = $resourceType;
        $this->resourceID = $resourceID;
    }

    public $operateType;
    public $resourceType;
    public $resourceID;
}

class DelToneEvt extends BaseUpdateEvt {
    function __construct($portalAccount, $portalPwd, $portalType,
        $moduleCode, $role, $roleCode, $toneID)
    {
        parent::__construct($portalAccount, $portalPwd, $portalType,
                $moduleCode, $role, $roleCode);
        $this->toneID = $toneID;
    }

    public $toneID;
}

class QueryAdminEvt extends BaseQueryEvt {
    function __construct($portalAccount, $portalPwd, $portalType,
        $startRecordNum = null, $endRecordNum = null, $queryType = null, $code = null) {
        parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType);
        $this->code = $code;
    }

    public $code;
}


?>